package logic;

public class Node {
	int constraint;
	int no;
	String address;
	String type;
	boolean producer;
	
	public String toString() {
		return address + " " + type;
	}
		
	public Node(String address, String type, int no, int constraint, boolean producer) {
		this.address = address;
		this.no = no;
		this.type = type;
		this.constraint = constraint;
		this.producer = producer;
	}
}
